<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

//Route::post('/register',[\App\Http\Controllers\Auth\RegisterController::class,'store']);
//Route::post('/login',[\App\Http\Controllers\Auth\LoginController::class,'login']);
//
//
//Route::middleware('auth:api')->group(function (){
//    Route::get('/logout',[\App\Http\Controllers\Auth\LoginController::class,'logout']);
//    Route::get('/refresh',[\App\Http\Controllers\Auth\LoginController::class,'refresh']);
//
//});
//
//Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
//    return $request->user();
//});
